import request from '../utils/request';
//查询
export function select(beginAddress,endAddress,date) {
    return request({
      url: '/son-ticket/list/'+beginAddress+'/'+endAddress+'/'+date,
      method: 'get',
    });
  }

//购买
export function buy(data){
    return request({
        url:'/user-ticket/insert',
        method:'post',
        data:data
    })
}